home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
fcfgw40s.zip
/
SELECTTY.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-18
|
1KB
|
61 lines
// SelectType.cpp : implementation file
//
#include "stdafx.h"
#include "FileCFG.h"
#include "SelectType.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSelectType dialog
CSelectType::CSelectType(CWnd* pParent /*=NULL*/)
: CDialog(CSelectType::IDD, pParent)
{
//{{AFX_DATA_INIT(CSelectType)
m_CDROM = -1;
m_Free = -1;
m_Tops = -1;
m_Or = -1;
//}}AFX_DATA_INIT
}
void CSelectType::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSelectType)
DDX_Radio(pDX, IDC_RADIO_CDROM, m_CDROM);
DDX_Radio(pDX, IDC_RADIO_FREE, m_Free);
DDX_Radio(pDX, IDC_RADIO_TOPS, m_Tops);
DDX_Radio(pDX, IDC_RADIO_OR, m_Or);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSelectType, CDialog)
//{{AFX_MSG_MAP(CSelectType)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSelectType message handlers
BOOL CSelectType::OnInitDialog()
{
CDialog::OnInitDialog();
m_CDROM = 2;
m_Free = 2;
m_Tops = 2;
m_Or = 0;
UpdateData(FALSE);
return TRUE;
}